| [ Return to Bugs & Features | Roadmap 2.0 | Post Text | Post File | SVN ⇄ GIT ]
STR #1629
Application: | FLTK Library |
Status: | 5 - New |
Priority: | 2 - Low, e.g. a documentation error or undocumented side-effect |
Scope: | 2 - Specific to an operating system |
Subsystem: | Unassigned |
Summary: | BUGFIX for wrong scrollbar size on Microsoft Windows |
Version: | 2.0-current |
Created By: | Manuel |
Assigned To: | Unassigned |
Fix Version: | Unassigned |
Update Notification: | |
Trouble Report Files:
[ Post File ]No files
Trouble Report Comments:
[ Post Text ]
|
#1 | Manuel 19:18 Mar 06, 2007 |
| FLTK2 (didnt check FLTK1) does use a hardcoded srollabr width of 15 pixels. It looks very thin on high DPI monitors when user has customized font sizes and dpi.
Native applications use wider bars and the proper width is exposed by a system API.
Fix: Add this line to src/win32/fltk_theme.cxx inside fltk_theme() function:
Widget::default_style->scrollbar_width_ = GetSystemMetrics(SM_CXVSCROLL); | |
[ Return to Bugs & Features | Post Text | Post File ]
|
| |